package com.meishij.entry;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by 阿飞 on 2016/10/12.
 */

public class FindEntry {
    @SerializedName("code")
    private String code;
    @SerializedName("msg")
    private String msg;
    @SerializedName("faxian_region")
    private String faxian_region;
    @SerializedName("faxian_list")
    private List<DiscoveryItemEntry> faxian_list;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getFaxian_region() {
        return faxian_region;
    }

    public void setFaxian_region(String faxian_region) {
        this.faxian_region = faxian_region;
    }

    public List<DiscoveryItemEntry> getFaxian_list() {
        return faxian_list;
    }

    public void setFaxian_list(List<DiscoveryItemEntry> faxian_list) {
        this.faxian_list = faxian_list;
    }

    public static class DiscoveryItemEntry {
        @SerializedName("id")
        private String id;
        @SerializedName("title")
        private String title;
        @SerializedName("tag")
        private String tag;
        @SerializedName("type")
        private String type;

        // type : 1
        @SerializedName("recipe_info")
        private Recipe_info recipe_info;

        // type : 2
        @SerializedName("shicai_info")
        private Shicai_info shicai_info;

        // type : 3
        @SerializedName("huodong")
        private Huodong huodong;

        // type : 4
        @SerializedName("goods_info")
        private Goods_info goods_info;

        // type : 5
        @SerializedName("article_info")
        private Article_info article_info;

        // type : 6
        @SerializedName("gongyi_info")
        private Gongyi_info gongyi_info;

        // type : 7
        @SerializedName("caidan_info")
        private Caidan_info caidan_info;

        // type : 8

        // type : 9
        @SerializedName("zt_info")
        private Zt_info zt_info;

        // type : 10

        // type : 11
        @SerializedName("topic_info")
        private Topic_info topic_info;

        // type : 12

        // type : 13

        // type : 14

        // type : 15
        @SerializedName("duanzi_info")
        private Duanzi_info duanzi_info;

        // type : 16
        @SerializedName("wechat_info")
        private Wechat_info wechat_info;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getTag() {
            return tag;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public Recipe_info getRecipe_info() {
            return recipe_info;
        }

        public void setRecipe_info(Recipe_info recipe_info) {
            this.recipe_info = recipe_info;
        }

        public Shicai_info getShicai_info() {
            return shicai_info;
        }

        public void setShicai_info(Shicai_info shicai_info) {
            this.shicai_info = shicai_info;
        }

        public Huodong getHuodong() {
            return huodong;
        }

        public void setHuodong(Huodong huodong) {
            this.huodong = huodong;
        }

        public Goods_info getGoods_info() {
            return goods_info;
        }

        public void setGoods_info(Goods_info goods_info) {
            this.goods_info = goods_info;
        }

        public Article_info getArticle_info() {
            return article_info;
        }

        public void setArticle_info(Article_info article_info) {
            this.article_info = article_info;
        }

        public Gongyi_info getGongyi_info() {
            return gongyi_info;
        }

        public void setGongyi_info(Gongyi_info gongyi_info) {
            this.gongyi_info = gongyi_info;
        }

        public Caidan_info getCaidan_info() {
            return caidan_info;
        }

        public void setCaidan_info(Caidan_info caidan_info) {
            this.caidan_info = caidan_info;
        }

        public Zt_info getZt_info() {
            return zt_info;
        }

        public void setZt_info(Zt_info zt_info) {
            this.zt_info = zt_info;
        }

        public Topic_info getTopic_info() {
            return topic_info;
        }

        public void setTopic_info(Topic_info topic_info) {
            this.topic_info = topic_info;
        }

        public Duanzi_info getDuanzi_info() {
            return duanzi_info;
        }

        public void setDuanzi_info(Duanzi_info duanzi_info) {
            this.duanzi_info = duanzi_info;
        }

        public Wechat_info getWechat_info() {
            return wechat_info;
        }

        public void setWechat_info(Wechat_info wechat_info) {
            this.wechat_info = wechat_info;
        }

        public static class Recipe_info {
            @SerializedName("id")
            private String id;
            @SerializedName("title")
            private String title;
            @SerializedName("titlepic")
            private String titlepic;
            @SerializedName("gongyi")
            private String gongyi;
            @SerializedName("kouwei")
            private String kouwei;
            @SerializedName("make_time")
            private String make_time;
            @SerializedName("step")
            private String step;
            @SerializedName("rate")
            private String rate;
            @SerializedName("is_video")
            private String is_video;
            @SerializedName("do_type")
            private String do_type;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getTitlepic() {
                return titlepic;
            }

            public void setTitlepic(String titlepic) {
                this.titlepic = titlepic;
            }

            public String getGongyi() {
                return gongyi;
            }

            public void setGongyi(String gongyi) {
                this.gongyi = gongyi;
            }

            public String getKouwei() {
                return kouwei;
            }

            public void setKouwei(String kouwei) {
                this.kouwei = kouwei;
            }

            public String getMake_time() {
                return make_time;
            }

            public void setMake_time(String make_time) {
                this.make_time = make_time;
            }

            public String getStep() {
                return step;
            }

            public void setStep(String step) {
                this.step = step;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }

            public String getIs_video() {
                return is_video;
            }

            public void setIs_video(String is_video) {
                this.is_video = is_video;
            }

            public String getDo_type() {
                return do_type;
            }

            public void setDo_type(String do_type) {
                this.do_type = do_type;
            }
        }

        public static class Shicai_info {
            @SerializedName("id")
            private String id;
            @SerializedName("title")
            private String title;
            @SerializedName("image")
            private String image;
            @SerializedName("heat_level")
            private String heat_level;
            @SerializedName("heat_word")
            private String heat_word;
            @SerializedName("gongxiao")
            private List<String> gongxiao;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getHeat_level() {
                return heat_level;
            }

            public void setHeat_level(String heat_level) {
                this.heat_level = heat_level;
            }

            public String getHeat_word() {
                return heat_word;
            }

            public void setHeat_word(String heat_word) {
                this.heat_word = heat_word;
            }

            public List<String> getGongxiao() {
                return gongxiao;
            }

            public void setGongxiao(List<String> gongxiao) {
                this.gongxiao = gongxiao;
            }
        }

        public static class Huodong {
            @SerializedName("img")
            private ImgEntry img;
            @SerializedName("huodong_type")
            private String huodong_type;
            @SerializedName("huodong_id")
            private String huodong_id;

            public ImgEntry getImg() {
                return img;
            }

            public void setImg(ImgEntry img) {
                this.img = img;
            }

            public String getHuodong_type() {
                return huodong_type;
            }

            public void setHuodong_type(String huodong_type) {
                this.huodong_type = huodong_type;
            }

            public String getHuodong_id() {
                return huodong_id;
            }

            public void setHuodong_id(String huodong_id) {
                this.huodong_id = huodong_id;
            }

            public static class ImgEntry {
                @SerializedName("small")
                private String small;
                @SerializedName("big")
                private String big;
                @SerializedName("width")
                private String width;
                @SerializedName("height")
                private String height;

                public String getSmall() {
                    return small;
                }

                public void setSmall(String small) {
                    this.small = small;
                }

                public String getBig() {
                    return big;
                }

                public void setBig(String big) {
                    this.big = big;
                }

                public String getWidth() {
                    return width;
                }

                public void setWidth(String width) {
                    this.width = width;
                }

                public String getHeight() {
                    return height;
                }

                public void setHeight(String height) {
                    this.height = height;
                }
            }
        }

        public static class Goods_info {
            @SerializedName("id")
            private String id;
            @SerializedName("title")
            private String title;
            @SerializedName("image")
            private String image;
            @SerializedName("price")
            private String price;
            @SerializedName("market_price")
            private String market_price;
            @SerializedName("guige")
            private String guige;
            @SerializedName("sale_num")
            private String sale_num;
            @SerializedName("total_store")
            private String total_store;
            @SerializedName("store")
            private String store;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getMarket_price() {
                return market_price;
            }

            public void setMarket_price(String market_price) {
                this.market_price = market_price;
            }

            public String getGuige() {
                return guige;
            }

            public void setGuige(String guige) {
                this.guige = guige;
            }

            public String getSale_num() {
                return sale_num;
            }

            public void setSale_num(String sale_num) {
                this.sale_num = sale_num;
            }

            public String getTotal_store() {
                return total_store;
            }

            public void setTotal_store(String total_store) {
                this.total_store = total_store;
            }

            public String getStore() {
                return store;
            }

            public void setStore(String store) {
                this.store = store;
            }
        }

        public static class Article_info {
            @SerializedName("id")
            private String id;
            @SerializedName("title")
            private String title;
            @SerializedName("titlepic")
            private String titlepic;
            @SerializedName("smalltext")
            private String smalltext;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getTitlepic() {
                return titlepic;
            }

            public void setTitlepic(String titlepic) {
                this.titlepic = titlepic;
            }

            public String getSmalltext() {
                return smalltext;
            }

            public void setSmalltext(String smalltext) {
                this.smalltext = smalltext;
            }
        }

        public static class Gongyi_info {
            @SerializedName("gongyi")
            private String gongyi;
            @SerializedName("recipes")
            private List<RecipesItemEntry> recipes;

            public String getGongyi() {
                return gongyi;
            }

            public void setGongyi(String gongyi) {
                this.gongyi = gongyi;
            }

            public List<RecipesItemEntry> getRecipes() {
                return recipes;
            }

            public void setRecipes(List<RecipesItemEntry> recipes) {
                this.recipes = recipes;
            }

            public static class RecipesItemEntry {
                @SerializedName("id")
                private String id;
                @SerializedName("title")
                private String title;
                @SerializedName("titlepic")
                private String titlepic;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getTitlepic() {
                    return titlepic;
                }

                public void setTitlepic(String titlepic) {
                    this.titlepic = titlepic;
                }
            }
        }

        public static class Caidan_info {
            @SerializedName("id")
            private String id;
            @SerializedName("caidan_name")
            private String caidan_name;
            @SerializedName("photos")
            private List<String> photos;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCaidan_name() {
                return caidan_name;
            }

            public void setCaidan_name(String caidan_name) {
                this.caidan_name = caidan_name;
            }

            public List<String> getPhotos() {
                return photos;
            }

            public void setPhotos(List<String> photos) {
                this.photos = photos;
            }
        }

        public static class Zt_info {
            @SerializedName("id")
            private String id;
            @SerializedName("f_s_type")
            private String f_s_type;
            @SerializedName("photo")
            private String photo;
            @SerializedName("descr")
            private String descr;
            @SerializedName("user_info")
            private User_info user_info;
            @SerializedName("create_time")
            private String create_time;
            @SerializedName("zan_num")
            private String zan_num;
            @SerializedName("fav_num")
            private String fav_num;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getF_s_type() {
                return f_s_type;
            }

            public void setF_s_type(String f_s_type) {
                this.f_s_type = f_s_type;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getDescr() {
                return descr;
            }

            public void setDescr(String descr) {
                this.descr = descr;
            }

            public User_info getUser_info() {
                return user_info;
            }

            public void setUser_info(User_info user_info) {
                this.user_info = user_info;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getZan_num() {
                return zan_num;
            }

            public void setZan_num(String zan_num) {
                this.zan_num = zan_num;
            }

            public String getFav_num() {
                return fav_num;
            }

            public void setFav_num(String fav_num) {
                this.fav_num = fav_num;
            }

            public static class User_info {
                @SerializedName("if_v")
                private String if_v;
                @SerializedName("signature")
                private String signature;
                @SerializedName("user_id")
                private String user_id;
                @SerializedName("user_name")
                private String user_name;
                @SerializedName("avatar")
                private String avatar;

                public String getIf_v() {
                    return if_v;
                }

                public void setIf_v(String if_v) {
                    this.if_v = if_v;
                }

                public String getSignature() {
                    return signature;
                }

                public void setSignature(String signature) {
                    this.signature = signature;
                }

                public String getUser_id() {
                    return user_id;
                }

                public void setUser_id(String user_id) {
                    this.user_id = user_id;
                }

                public String getUser_name() {
                    return user_name;
                }

                public void setUser_name(String user_name) {
                    this.user_name = user_name;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }
            }
        }

        public static class Topic_info {
            private User_info user_info;
            private String gid;
            private String tid;
            private String comment_num;
            private String is_ding;
            private String ding_num;
            private String time;
            private String summary;
            private String img_num;
            private String zhiding;
            private List<ImgEntry> imgs;
            private List<RecipesItemEntry> recipes;
            private String sourceType;

            public User_info getUser_info() {
                return user_info;
            }

            public void setUser_info(User_info user_info) {
                this.user_info = user_info;
            }

            public String getGid() {
                return gid;
            }

            public void setGid(String gid) {
                this.gid = gid;
            }

            public String getTid() {
                return tid;
            }

            public void setTid(String tid) {
                this.tid = tid;
            }

            public String getComment_num() {
                return comment_num;
            }

            public void setComment_num(String comment_num) {
                this.comment_num = comment_num;
            }

            public String getIs_ding() {
                return is_ding;
            }

            public void setIs_ding(String is_ding) {
                this.is_ding = is_ding;
            }

            public String getDing_num() {
                return ding_num;
            }

            public void setDing_num(String ding_num) {
                this.ding_num = ding_num;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getSummary() {
                return summary;
            }

            public void setSummary(String summary) {
                this.summary = summary;
            }

            public String getImg_num() {
                return img_num;
            }

            public void setImg_num(String img_num) {
                this.img_num = img_num;
            }

            public String getZhiding() {
                return zhiding;
            }

            public void setZhiding(String zhiding) {
                this.zhiding = zhiding;
            }

            public List<ImgEntry> getImgs() {
                return imgs;
            }

            public void setImgs(List<ImgEntry> imgs) {
                this.imgs = imgs;
            }

            public List<RecipesItemEntry> getRecipes() {
                return recipes;
            }

            public void setRecipes(List<RecipesItemEntry> recipes) {
                this.recipes = recipes;
            }

            public String getSourceType() {
                return sourceType;
            }

            public void setSourceType(String sourceType) {
                this.sourceType = sourceType;
            }

            public static class User_info {
                @SerializedName("signature")
                private String signature;
                @SerializedName("if_v")
                private String if_v;
                @SerializedName("user_id")
                private String user_id;
                @SerializedName("user_name")
                private String user_name;
                @SerializedName("avatar")
                private String avatar;

                public String getSignature() {
                    return signature;
                }

                public void setSignature(String signature) {
                    this.signature = signature;
                }

                public String getIf_v() {
                    return if_v;
                }

                public void setIf_v(String if_v) {
                    this.if_v = if_v;
                }

                public String getUser_id() {
                    return user_id;
                }

                public void setUser_id(String user_id) {
                    this.user_id = user_id;
                }

                public String getUser_name() {
                    return user_name;
                }

                public void setUser_name(String user_name) {
                    this.user_name = user_name;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }
            }

            public static class ImgEntry {
                @SerializedName("small")
                private String small;
                @SerializedName("big")
                private String big;
                @SerializedName("width")
                private String width;
                @SerializedName("height")
                private String height;

                public String getSmall() {
                    return small;
                }

                public void setSmall(String small) {
                    this.small = small;
                }

                public String getBig() {
                    return big;
                }

                public void setBig(String big) {
                    this.big = big;
                }

                public String getWidth() {
                    return width;
                }

                public void setWidth(String width) {
                    this.width = width;
                }

                public String getHeight() {
                    return height;
                }

                public void setHeight(String height) {
                    this.height = height;
                }
            }

            public static class RecipesItemEntry {
                @SerializedName("id")
                private String id;
                @SerializedName("title")
                private String title;
                @SerializedName("titlepic")
                private String titlepic;


                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getTitlepic() {
                    return titlepic;
                }

                public void setTitlepic(String titlepic) {
                    this.titlepic = titlepic;
                }
            }
        }

        public static class Duanzi_info {
            @SerializedName("web_url")
            private String web_url;
            @SerializedName("content")
            private String content;
            @SerializedName("id")
            private String id;
            @SerializedName("user_info")
            private User_info user_info;
            @SerializedName("media_type")
            private String media_type;
            @SerializedName("imgs")
            private List<ImgEntry> imgs;
            @SerializedName("video_list")
            private Video_list video_list;

            public String getWeb_url() {
                return web_url;
            }

            public void setWeb_url(String web_url) {
                this.web_url = web_url;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public User_info getUser_info() {
                return user_info;
            }

            public void setUser_info(User_info user_info) {
                this.user_info = user_info;
            }

            public String getMedia_type() {
                return media_type;
            }

            public void setMedia_type(String media_type) {
                this.media_type = media_type;
            }

            public List<ImgEntry> getImgs() {
                return imgs;
            }

            public void setImgs(List<ImgEntry> imgs) {
                this.imgs = imgs;
            }

            public Video_list getVideo_list() {
                return video_list;
            }

            public void setVideo_list(Video_list video_list) {
                this.video_list = video_list;
            }

            public static class User_info {
                @SerializedName("if_v")
                private String if_v;
                @SerializedName("signature")
                private String signature;
                @SerializedName("user_id")
                private String user_id;
                @SerializedName("user_name")
                private String user_name;
                @SerializedName("avatar")
                private String avatar;

                public String getIf_v() {
                    return if_v;
                }

                public void setIf_v(String if_v) {
                    this.if_v = if_v;
                }

                public String getSignature() {
                    return signature;
                }

                public void setSignature(String signature) {
                    this.signature = signature;
                }

                public String getUser_id() {
                    return user_id;
                }

                public void setUser_id(String user_id) {
                    this.user_id = user_id;
                }

                public String getUser_name() {
                    return user_name;
                }

                public void setUser_name(String user_name) {
                    this.user_name = user_name;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }
            }

            public static class ImgEntry {
                @SerializedName("small")
                private String small;
                @SerializedName("big")
                private String big;
                @SerializedName("width")
                private String width;
                @SerializedName("height")
                private String height;

                public String getSmall() {
                    return small;
                }

                public void setSmall(String small) {
                    this.small = small;
                }

                public String getBig() {
                    return big;
                }

                public void setBig(String big) {
                    this.big = big;
                }

                public String getWidth() {
                    return width;
                }

                public void setWidth(String width) {
                    this.width = width;
                }

                public String getHeight() {
                    return height;
                }

                public void setHeight(String height) {
                    this.height = height;
                }
            }

            public static class Video_list {
                @SerializedName("video_width")
                private String video_width;
                @SerializedName("video_height")
                private String video_height;
                @SerializedName("play_times")
                private String play_times;
                @SerializedName("img_video")
                private String img_video;
                @SerializedName("time")
                private String time;
                @SerializedName("vurl")
                private String vurl;

                public String getVideo_width() {
                    return video_width;
                }

                public void setVideo_width(String video_width) {
                    this.video_width = video_width;
                }

                public String getVideo_height() {
                    return video_height;
                }

                public void setVideo_height(String video_height) {
                    this.video_height = video_height;
                }

                public String getPlay_times() {
                    return play_times;
                }

                public void setPlay_times(String play_times) {
                    this.play_times = play_times;
                }

                public String getImg_video() {
                    return img_video;
                }

                public void setImg_video(String img_video) {
                    this.img_video = img_video;
                }

                public String getTime() {
                    return time;
                }

                public void setTime(String time) {
                    this.time = time;
                }

                public String getVurl() {
                    return vurl;
                }

                public void setVurl(String vurl) {
                    this.vurl = vurl;
                }
            }

        }

        public static class Wechat_info {
            @SerializedName("id")
            private String id;
            @SerializedName("web_url")
            private String web_url;
            @SerializedName("title")
            private String title;
            @SerializedName("titlepic")
            private String titlepic;
            @SerializedName("smalltext")
            private String smalltext;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getWeb_url() {
                return web_url;
            }

            public void setWeb_url(String web_url) {
                this.web_url = web_url;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getTitlepic() {
                return titlepic;
            }

            public void setTitlepic(String titlepic) {
                this.titlepic = titlepic;
            }

            public String getSmalltext() {
                return smalltext;
            }

            public void setSmalltext(String smalltext) {
                this.smalltext = smalltext;
            }
        }
    }

}
